/**
 * Pinia 持久化插件 "pinia-plugin-persistedstate" 公共配置
 */
export default {
    storage: {
        getItem(key) {
            console.log("getItem ->>", key, uni.getStorageSync(key))
            return uni.getStorageSync(key);
        },
        setItem(key, value) {
            console.log("setItem ->>", key, value)
            uni.setStorageSync(key, value);
        },
    },
};
